package cz.muni.fi.pa165.mushroom.website.dto;


import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author: Pavel Démuth
 */
@XmlRootElement
public class MushroomDto {
    private Long id;
    
    private Integer growsFrom;
    
    private Integer growsUntil;
    
    private String name;
    
    private MushroomTypeDTO type;
    
    private List<VisitDto> visits =  new ArrayList();

    public MushroomDto() {
    }
    

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getGrowsFrom() {
        return growsFrom;
    }

    public void setGrowsFrom(Integer growsFrom) {
        this.growsFrom = growsFrom;
    }

    public Integer getGrowsUntil() {
        return growsUntil;
    }

    public void setGrowsUntil(Integer growsUntil) {
        this.growsUntil = growsUntil;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public MushroomTypeDTO getType() {
        return type;
    }

    public void setType(MushroomTypeDTO type) {
        this.type = type;
    }

    public List<VisitDto> getVisits() {
        return visits;
    }

    public void setVisits(List<VisitDto> visits) {
        this.visits = visits;
    }
    
    
}
